From: Jo-Philipp Wich Date: Sun, 18 Feb 2024 22:24:46 +0000 (+0100) Subject: luci-theme-openwrt-2020: add dropdown option hover styles X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=ae146074a1a779388f8a05de55071422be8c23b5;p=project%2Fluci.git luci-theme-openwrt-2020: add dropdown option hover styles Subsequent commits will drop the JS based mouse following focus behavior, so add appropriate replacement CSS hover styles. Ref: #6903 Signed-off-by: Jo-Philipp Wich --- diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css index e56f6c7302..277af225f6 100644 --- a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css +++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css @@ -1365,7 +1365,8 @@ textarea { color: var(--secondary-bright-color); } -.cbi-dropdown[open] > ul.dropdown > li.focus { +.cbi-dropdown[open] > ul.dropdown > li.focus, +.cbi-dropdown[open] > ul.dropdown > li:hover { background: var(--main-bright-color); }